Component({
    externalClasses: ['i-class'],
    behaviors: ['wx://form-field'],
    options: {
        // 在组件定义时的选项中启用多slot支持
        multipleSlots: true
    },
    properties: {
        title: {
            type: String
        },
        disabled: {
            type: Boolean,
            value: false
        },
        placeholder: {
            type: String,
            value: ''
        },
        mode: {
            type: String,
            value: 'normal'
        },
        right: {
            type: Boolean,
            value: false
        },
        error: {
            type: Boolean,
            value: false
        },
        maxlength: {
            type: Number,
            value: -1
        },
    },
    methods: {

    }
});